package com.chengxiaoxiao.service;

import com.chengxiaoxiao.commons.Page;

import java.util.List;

public interface CommonService<T> {

    void add(T t);

    void update(T t);

    void delete(long id);

    List get();

    T getbyId(long id);

    Page getListPage(String num);



}
